-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OCPBUGS-27496#Update provisioner from in-tree to CSI #71398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🤖 Thu Feb 08 20:30:05 - Prow CI generated the docs preview: https://71398--ocpdocs-pr.netlify.app |
/label peer-review-in-progress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Good catch with the typo.
/remove-label peer-review-needed /label peer-review-done |
@@ -13,7 +13,7 @@ kind: StorageClass | |||
apiVersion: storage.k8s.io/v1 | |||
metadata: | |||
name: <storage-class-name> <1> | |||
provisioner: kubernetes.io/aws-ebs | |||
provisioner: ebs.csi.aws.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSI drivers can have different parameters
than corresponding in-tree volume plugins.
For AWS EBS, 4.14 understands these options: https://github.com/openshift/aws-ebs-csi-driver/blob/release-4.14/docs/parameters.md (replace 4.14
in the URL with a different versions, 4.15 got a few new ones)
It seems that our documentation is still valid for AWS EBS. The CSI driver has more options that we don't document yet. And the question is if we should, because it's a huge effort - we would need to test the options first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsafrane
How about just listing the OCP pre-defined storageclass content (like https://github.com/openshift/aws-ebs-csi-driver-operator/blob/master/assets/storageclass_gp3.yaml) in this "dynamic-provisioning" section and documenting more parameters when introducing the CSI Driver section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would work for me
@@ -13,7 +13,7 @@ apiVersion: storage.k8s.io/v1 | |||
kind: StorageClass | |||
metadata: | |||
name: <storage-class-name> <1> | |||
provisioner: kubernetes.io/azure-disk | |||
provisioner: disk.csi.azure.com | |||
volumeBindingMode: WaitForFirstConsumer <2> | |||
allowVolumeExpansion: true | |||
parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Azure Disk CSI driver has their parameters documented here: https://github.com/openshift/azure-disk-csi-driver/blob/release-4.14/docs/driver-parameters.md
storageaccounttype
is deprecated, skuName
should be used instead. And there is a plenty of new options. Again, not tested by us, so question is, if they should be documented.
@@ -45,7 +45,7 @@ kind: StorageClass | |||
apiVersion: storage.k8s.io/v1 | |||
metadata: | |||
name: <azure-file> <1> | |||
provisioner: kubernetes.io/azure-file | |||
provisioner: file.csi.azure.com | |||
parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstream docs: https://github.com/openshift/azure-file-csi-driver/blob/release-4.14/docs/driver-parameters.md
Our doc looks OK, upstream only documents much more options.
@@ -13,7 +13,7 @@ kind: StorageClass | |||
apiVersion: storage.k8s.io/v1 | |||
metadata: | |||
name: <storage-class-name> <1> | |||
provisioner: kubernetes.io/cinder | |||
provisioner: cinder.csi.openstack.org | |||
parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -13,7 +13,7 @@ apiVersion: storage.k8s.io/v1 | |||
kind: StorageClass | |||
metadata: | |||
name: <storage-class-name> <1> | |||
provisioner: kubernetes.io/gce-pd | |||
provisioner: pd.csi.storage.gke.io | |||
parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstream doc: https://github.com/openshift/gcp-pd-csi-driver/blob/release-4.14/README.md#createvolume-parameters
Our doc looks OK, upstream only documents has few more options
The This is because your PR targets the If the update in your PR does NOT apply to version 4.16 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/remove-lifecycle rotten |
@lpettyjo: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The This is because your PR targets the If the update in your PR does NOT apply to version 4.19 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
Version(s): 4.14+
Issue: https://issues.redhat.com/browse/OCPBUGS-27496
Link to docs preview: https://71398--ocpdocs-pr.netlify.app/openshift-enterprise/latest/storage/dynamic-provisioning
QE review:
Additional information:
PTAL: @gcharot @jsafrane @duanwei33